Skip to content

Handle stream SAC monitors in SAC coordinator#15695

Merged
acogoluegnes merged 1 commit intomainfrom
stream-sac-monitors-in-sac-coordinator
Mar 18, 2026
Merged

Handle stream SAC monitors in SAC coordinator#15695
acogoluegnes merged 1 commit intomainfrom
stream-sac-monitors-in-sac-coordinator

Conversation

@acogoluegnes
Copy link
Copy Markdown
Contributor

@acogoluegnes acogoluegnes commented Mar 11, 2026

The stream SAC coordinator already keeps track of its monitors but delegates some of the work to the stream coordinator (in its monitors map).

This commit changes this to let the SAC coordinator handle its monitors itself. This decouples the 2 coordinators. This also fixes a bug whereby the SAC coordinator would correctly re-issue monitors but would not modify the monitors map accordingly. The SAC coordinator would not then be notified of the corresponding down messages.

References rabbitmq/rabbitmq-stream-dotnet-client#447

@acogoluegnes acogoluegnes added this to the 4.3.0 milestone Mar 11, 2026
@acogoluegnes acogoluegnes force-pushed the stream-sac-monitors-in-sac-coordinator branch from bd5a38e to d6c0833 Compare March 11, 2026 12:08
@acogoluegnes acogoluegnes force-pushed the stream-sac-monitors-in-sac-coordinator branch from d6c0833 to 1fb98a4 Compare March 11, 2026 16:34
@acogoluegnes acogoluegnes force-pushed the stream-sac-monitors-in-sac-coordinator branch from 1fb98a4 to 49ff2e7 Compare March 12, 2026 15:55
@acogoluegnes acogoluegnes modified the milestones: 4.3.0, 4.4.0 Mar 18, 2026
The stream SAC coordinator already keeps track of its monitors but
delegates some of the work to the stream coordinator (in its monitors
map).

This commit changes this to let the SAC coordinator handle its monitors
itself. This decouples the 2 coordinators. This also fixes a bug whereby
the SAC coordinator would correctly re-issue monitors but would not
modify the monitors map accordingly. The SAC coordinator would not then
be notified of the corresponding down messages.

References rabbitmq/rabbitmq-stream-dotnet-client#447
@acogoluegnes acogoluegnes force-pushed the stream-sac-monitors-in-sac-coordinator branch from 49ff2e7 to 996c2c3 Compare March 18, 2026 07:41
@acogoluegnes acogoluegnes marked this pull request as ready for review March 18, 2026 08:36
@acogoluegnes acogoluegnes merged commit 8fa1fd2 into main Mar 18, 2026
184 checks passed
@acogoluegnes acogoluegnes deleted the stream-sac-monitors-in-sac-coordinator branch March 18, 2026 08:36
acogoluegnes added a commit that referenced this pull request Mar 18, 2026
Handle stream SAC monitors in SAC coordinator (backport #15695)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants